package de.rtbfaustball.model.clubs;

import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Represents a club with all contact, address and sports venue information.
 * 
 * @see src/main/resources/data/clubs
 * @author sebastian
 */
@XmlRootElement(name = "club")
@XmlAccessorType(XmlAccessType.FIELD)
public class Club {

	@XmlElement
	private String name;

	@XmlElement
	private String city;

	@XmlElement
	private String website;

	@XmlElement(name = "contact")
	private List<ClubContact> contacts;

	@XmlElement(name = "venue")
	private List<ClubVenue> venues;

	// *************** Getter/Setter *******************************************

	public String getName() {
		return name;
	}

	public String getCity() {
		return city;
	}

	public String getWebsite() {
		return website;
	}

	public List<ClubContact> getContacts() {
		return contacts;
	}

	public List<ClubVenue> getVenues() {
		return venues;
	}

}
